package org.yoao.crm.tools;

import java.io.File;
import java.util.Date;

import com.oreilly.servlet.multipart.FileRenamePolicy;

public class TimeFileRenamePolicy implements FileRenamePolicy {

	public File rename(File file) {
		return new File(file.getParent(), new Date().getTime() + "_" + file.getName());
    }
}